home *** CD-ROM | disk | FTP | other *** search
-
-
- LS LS
-
-
-
- NAME
- ls
-
-
- SYNOPSIS
- ls [-adFflnpRrst] [path]...
- ls -h
-
-
- DESCRIPTION
- ls is a small, fast, full-featured utility for listing the
- contents of directories and displaying information about
- selected files.
-
- Target files may be specified either by specific pathname,
- pathnames with wild cards in the trailing part of the pat or a
- directory. If no target is specified, the current directory
- is listed.
-
- The output is normally sorted in multiple columns with
- directories displayed in red. When directed to a file, or a
- pipe, the output is displayed one name to a line.
-
-
- OPTIONS
-
- -a causes ls to list all files. Normally ls does not
- list files for which the HIDDEN protection bit is
- set.
-
- -C forces ls to generate a multicolumn display even if
- output is redirected to a file or pipe.
-
- -d causes ls to list directories only.
-
- -F causes ls to append a slash (/) to directory names
- (so OnePlane users & color blind can distinguish dirs
- from plain files).
-
- -f causes ls to list files only.
-
- -l generates a long listing. The additional information
- includes the file protection-bit settings, size and
- time and date of last modification.
-
- -n no sort; list files in ExNext() order.
-
- -p lists file path, either absolute or relative depending
- on the path specification on the command line. This
- can then be used as a file-name feeder to other
- programs, e.g. zoo. The -p option forces a single-
- column listing and also suppressed headings and
- totals.
-
- -R generates a recursive subdirectory listing.
-
-
-
-
-
-
-
-
- LS LS
-
-
-
-
- -r reverses the sort order that has otherwise been
- specified.
-
- -s causes the list to be sorted by size, with the
- largest files first.
-
- -t causes the list to be sorted in chronological order,
- with the most recent files first.
-
- -h causes a usage message to be printed.
-
-
- NOTES
- ls may be made resident either by rez, by the c:Resident
- command, or by the wshell resi command. Since it was linked
- with the Lattice cres.o module, rez thinks it is not shareable.
-
-
- DIAGNOSTICS
- If no files are found matching all criteria, ls returns
- WARN; if at any time ls is unable to allocate memory, ls
- returns FAIL.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-